package com.jvyou.app.ds.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jvyou.app.ds.domain.entity.LicenseType;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 驾照类型表(LicenseType)表数据库访问层
 *
 * @author 橘柚
 * @since 2025-04-18 14:20:04
 */
public interface LicenseTypeMapper extends BaseMapper<LicenseType> {

    @Select("select * from ds_license_type where license_code = #{licenseType} and is_deleted='0' limit 1 ")
    LicenseType getByLicenseCode(@Param("licenseType") String licenseType);
}
